//
//  PxBaseController.h
//  PxHelper
//
//  Created by lpc on 2019/10/18.
//  Copyright © 2019 lpc. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface PxBaseController : UIViewController

@property (strong,nonatomic) NSString *navBarTitle;

-(instancetype)initWithSelfClassNib;
-(void)goBack;

-(void)addEventObserver;
-(void)removeEventObserver;

-(void)setNavBarLeftGoBackButtonItem;
-(void)setNavBarLeftButtonItem:(nonnull UIView *)leftButton;
-(void)removeNavBarLeftButtonItems;

-(void)setNavBarRightButtonItem:(nonnull UIView *)rightButton;
-(void)removeNavBarRightButtonItems;

@end

NS_ASSUME_NONNULL_END
